<template>
  <view>
    <!-- 暂无数据 -->
    <view v-if="type === 'no_data'" class="no-data">
      <image src="@/static/images/no_data.png" mode="widthFix" />
      <text>暂无数据哦</text>
    </view>
    <!-- 已审核 -->
    <view
      v-if="type === 'examine'"
      style="
        position: absolute;
        top: 30rpx;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
      "
    >
      <image
        style="width: 140rpx"
        class="examine-image"
        mode="widthFix"
        src="@/static/images/examine.png"
      />
    </view>
  </view>
</template>

<script>
export default {
  props: {
    type: {
      type: String,
      default: 'no_data'
    }
  }
}
</script>

<style lang="less" scoped>
.no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50%;
  image {
    width: 375rpx;
  }
  text {
    font-size: 32rpx;
    color: #999999;
  }
}
</style>
